// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.ast.statement.SQLShowStatement;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "DrdsShowMetadataLock.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/MySqlASTVisitor.h"

void DrdsShowMetadataLock::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(DrdsShowMetadataLock));
  visitor->endVisit(SharedObject(DrdsShowMetadataLock));
}

SQLName_ptr DrdsShowMetadataLock::getSchemaName()
{
  return schemaName;
}

void DrdsShowMetadataLock::setSchemaName(SQLName_ptr schemaName)
{
  schemaName->setParent(SharedObject(DrdsShowMetadataLock));
  this->schemaName = schemaName;
}
